package com.why.blog.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.why.blog.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author TriggerWu
 * @since 2019-04-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class HaloComment extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "comment_id", type = IdType.AUTO)
    private Integer commentId;

    private String commentAgent;

    private String commentAuthor;

    private String commentAuthorAvatarMd5;

    private String commentAuthorEmail;

    private String commentAuthorIp;

    private String commentAuthorUrl;

    private String commentContent;

    private Long commentDate;

    private Long commentParent;

    private Integer commentStatus;

    private Integer isAdmin;

    private String postId;

    private String commentChild;

    @TableLogic
    private Integer logicDel = 0;


}
